<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<title>导航条</title>



	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="css/all.css">
	<link rel="stylesheet" href="css/base.css">
	<link rel="stylesheet" href="css/reset.css">
	<link rel="stylesheet" href="css/test.css">



	<script type="text/javascript" src="js/jquery.min.js"></script>

	<script type="text/javascript">

		$(document).ready(function () {



			$("#menu2 li a").wrapInner('<span class="out"></span>');



			$("#menu2 li a").each(function () {

				$('<span class="over">' + $(this).text() + '</span>').appendTo(this);

			});



			$("#menu2 li a").hover(function () {

				$(".out", this).stop().animate({ 'top': '48px' }, 300); // move down - hide

				$(".over", this).stop().animate({ 'top': '0px' }, 300); // move down - show



			}, function () {

				$(".out", this).stop().animate({ 'top': '0px' }, 300); // move up - show

				$(".over", this).stop().animate({ 'top': '-48px' }, 300); // move up - hide

			});



		});

	</script>



</head>

<body>

	<div class="topbar-wrapper">
		<!-- 创建内部容器 -->
		<div class="topbar w clearfix">
			<!-- 左侧的导航 -->
			<ul class="service">
				<li><a href="javascript:;">医疗网</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">首页</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">医院</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">医生</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">体检</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">医美</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">养老</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">陪诊</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">健康管理</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">咨询</a></li>
				<li class="line">|</li>
				<li class="app-wrapper">
					<a class="app" href="javascript:;">
						下载app
						<!-- 添加一个弹出层 -->
						<div class="qrcode">
							<img src="./img/download.png">
							<span>小米商城app</span>
						</div>
					</a>
				</li>
				<li class="line">|</li>
				<li><a href="javascript:;">海外医疗</a></li>
			</ul>

			<!-- 购物车 -->
			<ul class="shop-cart">
				<li><a href="javascript:;">
						<i class="fas fa-shopping-cart"></i>
						药店(0)
					</a></li>
			</ul>

			<!-- 用户登录注册 -->
			<ul class="user-info">
				<li><a href="javascript:;">登录</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">注册</a></li>
				<li class="line">|</li>
				<li><a href="javascript:;">消息通知</a></li>
			</ul>

		</div>
	</div>

	<!-- 代码 开始 -->

	<div id="menu2" class="menu">

		<ul>

			<li><a href="#">首 页</a></li>

			<li><a href="#">医 院</a></li>

			<li><a href="#">医 生</a></li>

			<li><a href="#">体 检</a></li>

			<li><a href="#">医 美</a></li>

			<li><a href="#">海外医疗</a></li>

			<li><a href="#">更 多</a></li>

			<li><a href="#">养 老</a></li>

			<li><a href="#">药 店</a></li>

		</ul>

		<div class="cls"></div>

	</div>

	<!-- 代码 结束 -->

<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>
<p>大撒旦撒大声地</p>

</body>

</html>